<?php echo $this->Section->main(); ?>
<body>
<div class="container_4">

	<div class="grid_1">
		<div class="logo"><?php echo $this->Html->link($this->Html->image(HOST.'/logo.png'),'/',array('escape'=>false));?></div>
	</div>

	<?php echo $this->element('aktualnosci-promocje')?>
	
	<div class="grid_3">
		<?php echo $this->element('menu-top')?>
	</div>
	
	<div class="clear"> </div>
	
	<div class="grid_4 header">
		<?php echo $this->element('baner')?>
		<div class="clear"> </div>
	</div>
	
	<div class="clear"> </div>
	
	<?php if(1 == 0){// dopiero gdy beda sklepy?>
	<div class="grid_4">
		<div class="content store" style="padding-bottom: 20px;">
			<table style="width: 100%; border-bottom: solid 4px #e4e4e4;">
				<tr>
					<td><?php echo $this->Html->link($this->Html->image(HOST.'/sklep_z_gadzetami.png'),'http://www.waldi.katalog-gadzety.pl',array('escape'=>false));?></td>
					<td><?php echo $this->Html->link($this->Html->image(HOST.'/sklep_z_odzieza_reklamowa.png'),'http://www.koszulkizlogo.pl',array('escape'=>false));?></td>
					<td><?php echo $this->Html->link($this->Html->image(HOST.'/sklep_z_odzieza_robocza.png'),'http://www.odziezbhp24.pl',array('escape'=>false));?></td>				
				</tr>
			</table>
		</div>
	</div>
	<?php }else{?>
		<div class="grid_4 white padding_top_bottom">
			<div class="content"><?php echo $this->Section->generate(2);?></div>
		</div>
	<?php }?>
	<div class="clear"> </div>

	<div class="grid_4 white padding_top_bottom">
		<div class="grid_1">
			<?php echo $this->Html->link($this->Html->image(HOST.'/baner_4_1.jpg'),array('controller'=>'pages','action'=>'odziez-reklamowa'),array('escape'=>false));?>
		</div>	
		<div class="grid_1">
			<?php echo $this->Html->link($this->Html->image(HOST.'/baner_4_2.jpg'),array('controller'=>'pages','action'=>'odziez-ochronna'),array('escape'=>false));?>
		</div>
		<div class="grid_1">
			<?php echo $this->Html->link($this->Html->image(HOST.'/baner_4_3.jpg'),array('controller'=>'pages','action'=>'odziez-sportowa-outdoor'),array('escape'=>false));?>
		</div>
		<div class="grid_1">
			<?php echo $this->Html->link($this->Html->image(HOST.'/baner_4_4.jpg'),array('controller'=>'pages','action'=>'gadzety-reklamowe'),array('escape'=>false));?>
		</div>
	</div>	
	
	<div class="clear"> </div>

	<div class="grid_4 white padding_top_bottom">
		<div class="content"><?php echo $this->element('events_homepage',array('items'=>$this->News->events(array('limit'=>'0,3','conditions'=>array('News.new_group_id'=>array(1,2))))));?></div>
	</div>
		
	<div class="clear"> </div>
	
	<div class="grid_4 white padding_top_bottom">
		<div class="grid_2">
			<?php echo $this->Html->link($this->Html->image(HOST.'/baner_2_1.jpg'),array('controller'=>'pages','action'=>'nadruki-na-odziez'),array('escape'=>false));?>
		</div>
		<div class="grid_2">
			<?php echo $this->Html->link($this->Html->image(HOST.'/baner_2_2.jpg'),array('controller'=>'pages','action'=>'hafty'),array('escape'=>false,'style'=>'float: right;'));?>
		</div>
	</div>		
	
	<div class="clear"> </div>

<!-- 
	<div class="grid_4 white padding_top_bottom">
		<h2><?php //echo __('Promocje / wyprzedaże',true)?></h2>
		<div class="content"><?php //echo $this->Section->generate(3);?></div>
	</div>
	
	<div class="grid_4 white padding_top_bottom">
		
		<?php //echo $this->Promocje->display(array('sklep'=>'koszulki'));?>
		<?php //echo $this->Promocje->display(array('sklep'=>'bhp'));?>		

	</div>	
		
	<div class="clear"> </div>

 -->
	
	<?php echo $this->element('footer');?>
	<div class="clear"> </div>
</div>
<div class="clear"> </div>
</body>
